﻿using QQMusic.ViewModel.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QQMusic.Model
{
    public class MusicFile : ViewModelBase
    {
        /// <summary>
        /// 编号
        /// </summary>
        private string id;

        /// <summary>
        /// 歌名
        /// </summary>
        private string name;

        /// <summary>
        /// 备注
        /// </summary>
        private string remark;

        /// <summary>
        /// 歌手
        /// </summary>
        private string singer;

        /// <summary>
        /// 专辑
        /// </summary>
        private string album;

        /// <summary>
        /// 大小
        /// </summary>
        private string size;

        public string Id 
        { 
            get => id;
            set 
            { 
                id = value;
                OnPropertyChanged("Id");
            }

        }

        public string Name 
        { 
            get => name;
            set 
            {
                name = value;
                OnPropertyChanged("Name");
            } 
        }

        public string Remark
        {
            get => remark;
            set
            {
                remark = value;
                OnPropertyChanged("Remark");
            }
        }

        public string Singer 
        { 
            get => singer;
            set
            {
                singer = value;
                OnPropertyChanged("Singer");
            }
        }

        public string Album 
        { 
            get => album;
            set 
            { 
                album = value;
                OnPropertyChanged("Album");
            }
        }

        public string Size 
        { 
            get => size;
            set 
            { 
                size = value;
                OnPropertyChanged("Size");
            }
        }

    }
}
